extends "../calxsx_2_2/calxsx_2_2.gd"
func _init():
	pass
func _extInit():
	._extInit()
	chaName = "山脉之魂"                   # 角色的名称
	atkEff = "atk_dang" 
	xb = "水"
	lv = 4   
	addSkillTxt("[color=#FFFF00][山魂神脉峰][/color][color=#FFCC22]制造神锋山脉，当自身受到非普攻伤害则反弹受到伤害的50%，视为水系伤害，自身只承受80%[/color]")

func _onHurt(atkInfo:AtkInfo):
	._onHurt(atkInfo)
	if atkInfo.atkType != AtkType.NORMAL && !atkInfo.isMiss:
		typeHurtCha(atkInfo.atkCha,atkInfo.hurtVal*0.5,Chara.HurtType.PHY,Chara.AtkType.EFF,"水")
		atkInfo.hurtVal *= 0.8